package com.system.entity;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.CrossOrigin;

import java.io.Serializable;

@Component
@CrossOrigin
public class TakecourseKey implements Serializable {
    private Integer course_id;

    private Long stuId;

    public TakecourseKey(Integer course_id, Long stuId) {
        this.course_id = course_id;
        this.stuId = stuId;
    }

    public TakecourseKey() {
        super();
    }

    public Integer getCourseId() {
        return course_id;
    }

    public void setCourseId(Integer course_id) {
        this.course_id = course_id;
    }

    public Long getStuId() {
        return stuId;
    }

    public void setStuId(Long stuId) {
        this.stuId = stuId;
    }
}
